<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                template="./WEB-INF/templates/template-outsystem.xhtml">
    
    <ui:define name="title">
        #{msgs['loginError.page-title']}
    </ui:define>

    <ui:define name="content-title">
        <h1>#{msgs['loginError.title']}</h1>
    </ui:define>

    <ui:define name="content">
        <p class="error-messages">
            #{msgs['loginError.content']}
        </p>

        <div class="login-box">
            <form id="loginForm" action="j_security_check" method="POST" onsubmit="showIndicatorAnyway();">
                <h:panelGrid columns="3">
                    <h:outputLabel for="j_username">#{msgs['login.username']}</h:outputLabel>
                    <h:inputText id="j_username" required="true">
                    </h:inputText>
                    <h:message for="j_username" />

                    <h:outputLabel for="j_password">#{msgs['login.password']}</h:outputLabel>
                    <h:inputSecret id="j_password" required="true">
                    </h:inputSecret>
                    <h:message for="j_password" />
                </h:panelGrid>
                <h:commandButton action="j_security_check" type="submit" value="#{msgs['login.login']}"></h:commandButton>
            </form>
        </div>
    </ui:define>

</ui:composition>
</html>